﻿
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using WebSilverlight.Web.Resources;
using DeklaritModel;

namespace WebSilverlight.Web
{   
    public partial class InvoiceWrapper
    {
		[Key]
		[Bindable(false)]
		[Display(Name = "Invoice Id", ShortName = "Invoice Id", Description = "Invoice Id" , AutoGenerateField = false)] 				
		public Int16 InvoiceId { get; set; }				
		
		[StringLength(20)]
		[Display(Name = "Invoice Description", ShortName = "Invoice Description", Description = "Invoice Description" , Order = 2)] 				
		public string InvoiceDescription { get; set; }				
		
		[Display(Name = "Cliente", ShortName = "Cliente", Description = "Cliente" , Order = 3)] 				
		public Int16 ClienteId { get; set; }				
		
		[StringLength(20)]
		[Bindable(true, BindingDirection.OneWay)]
		[Display(Name = "Cliente", ShortName = "Cliente", Description = "Cliente" , Order = 4)] 				
		public string ClienteName { get; set; }				
		
		[Display(Name = "Invoice Line Last Index", ShortName = "Invoice Line Last Index", Description = "Invoice Line Last Index" , Order = 5)] 				
		public Int16 InvoiceLineLastIndex { get; set; }				
		
    }
}